package top.xia17.plugins.fast.user.dao.repository;

import top.xia17.plugins.fast.common.database.jpa.extension.Xia17JpaRepository;
import top.xia17.plugins.fast.user.dao.entity.Dept;

/**
 * 部门
 * @author xia17
 */
public interface DeptRepository extends Xia17JpaRepository<Dept,Long> {

    /**
     * 查询
     * @param name /
     * @return /
     */
    int countAllByName(String name);
}
